//
//  BubbleView.h
//  SpringbackBubble
//
//  Created by TOPTEAM on 2016/11/24.
//  Copyright © 2016年 TOPTEAM. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BubbleView : UIView

//父视图
@property (nonatomic,strong)UIView *superView;

//气泡上显示数字的label
@property (nonatomic,strong)UIImageView *imgV;

//气泡的直径
@property (nonatomic,assign)CGFloat bubbleWidth;

//气泡粘性系数，越大可以拉得越长
@property (nonatomic,assign)CGFloat viscosity;

//气泡颜色
@property (nonatomic,strong)UIColor *bubbleColor;

//需要隐藏气泡时候可以使用这个属性：self.view_R2.hidden = YES;
@property (nonatomic,strong)UIView *view_R2;


-(id)initWithBeginPoint:(CGPoint)point superView:(UIView *)view;

-(void)draw;

@end
